package com.fizz.redpacket.lock;

import com.fizz.redpacket.lock.RejectPolicy;
/*    */ import org.springframework.data.redis.core.RedisTemplate;

public class DefaultRejectPolicy implements RejectPolicy {
    public void reject(RedisTemplate<String, Object> redisTemplate) {
        throw new RuntimeException("加锁失败, 请稍候重试");
    }
}
